package cn.xm.lingshi.pojo;

import java.util.List;

public class GouWuChe {
	private int cartid;// 购物车编号
	private int userid;// 用户编号
	private double money;// 总金额
	private int shopid;// 商品编号
	private int shopnum;// 商品数量
	private int id;// 购物车详情编号
	private List<Shop> list;
	
	public List<Shop> getList() {
		return list;
	}

	public void setList(List<Shop> list) {
		this.list = list;
	}

	public int getCartid() {
		return cartid;
	}

	public void setCartid(int cartid) {
		this.cartid = cartid;
	}

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public int getShopid() {
		return shopid;
	}

	public void setShopid(int shopid) {
		this.shopid = shopid;
	}

	public int getShopnum() {
		return shopnum;
	}

	public void setShopnum(int shopnum) {
		this.shopnum = shopnum;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public GouWuChe() {
	}

	public GouWuChe(int cartid, int userid, double money, int shopid,
			int shopnum, int id) {
		super();
		this.cartid = cartid;
		this.userid = userid;
		this.money = money;
		this.shopid = shopid;
		this.shopnum = shopnum;
		this.id = id;
	}

}
